package com.leon.workenginespace.service;

import com.leon.workenginespace.entity.Accept;
import com.leon.workenginespace.entity.RunnableAdapter;
import com.leon.workenginespace.entity.Task;
import lombok.Value;
import org.apache.cxf.attachment.LazyDataSource;
import org.springframework.stereotype.Component;

import javax.sql.DataSource;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.concurrent.Callable;

/**
 * @description:
 * @author: WT
 * @date: 2024/3/6 22:51
 * @Version 1.0
 **/
@Component
public class EngineSpace {

    public static void main(String[] args) {
//        AcceptWrapper acceptWrapper = new AcceptWrapper();
//        acceptWrapper.saveAccept("1",22);
//        acceptWrapper.saveApply("1",22);

//        Callable<Long> callable = new Task(3L);
//        Thread thread=new Thread(new RunnableAdapter(callable));
//        thread.start();



    }


}